package com.xizi.lotterySystem.controller.param;

import com.xizi.lotterySystem.service.enumerate.ActivityPrizeTiersEnum;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ActivityPrizeList {
    @NotNull(message = "奖品id不能为空！")
    private Long prizeId;

    @Min(value = 1,message = "奖品数量需要不小于1！")
    private Long prizeAmount;

    @NotBlank(message = "奖品等级不能为空！")
    private String prizeTiers;
}
